import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router";
import Home from '../views/home.vue'
const routes: Array<RouteRecordRaw> = [
  {
      path: "/",
      name: "index",
      component: () => import("../views/login.vue"),
  },
  {
    path: "/home",
    name: "home",
    component: Home,
  },
];
export default createRouter({
  history: createWebHistory(),
  routes,
});